package com.ltcode.auth.application.dto;

import lombok.Data;

import javax.validation.constraints.NotBlank;
import java.io.Serializable;

/**
 * 登录命令
 * 
 * @author ltcode
 * @since 2024-01-01
 */
@Data
public class LoginCommand implements Serializable {
    
    private static final long serialVersionUID = 1L;

    /** 用户名 */
    @NotBlank(message = "用户名不能为空")
    private String username;

    /** 密码 */
    @NotBlank(message = "密码不能为空")
    private String password;

    /** 验证码 */
    private String captchaCode;

    /** 验证码UUID */
    private String captchaUuid;


    /** 是否记住我 */
    private Boolean rememberMe = false;
}
